package com.xli.mis.tablebasic.entity.dto;

import com.xli.dto.search.SearchDTO;
import com.xli.dto.search.type.QueryType;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;


@Data
@EqualsAndHashCode(callSuper = true)
public class TableBasicSearchDTO extends SearchDTO {

    @Serial
    private static final long serialVersionUID = 2938399276152228940L;

    @Schema(description = "中文表名称")
    @QueryType(value = QueryType.Type.LIKE,field = "table_name")
    private String tableName;

    @Schema(description = "SQL表名")
    @QueryType(value = QueryType.Type.LIKE,field = "sql_table_name")
    private String sqlTableName;
}
